package cn.bocweb.spinning.model.Bean;

import java.util.List;

/**
 * Created by chenchangxing on 16/3/29.
 */
public class CompanySearchLocationBean {

    /**
     * msg : 获取成功
     * return_code : 0
     * province : [{"title":"浙江省","city":[{"id":"1","title":"杭州市"}]},{"title":"湖北省","city":[{"id":"2","title":"武汉市"},{"id":"3","title":"黄冈市"}]}]
     * common : [{"title":"北京"},{"title":"杭州"}]
     * together : [{"title":"杭州"}]
     */

    private String msg;
    private int return_code;
    /**
     * title : 浙江省
     * city : [{"id":"1","title":"杭州市"}]
     */

    private List<ProvinceBean> province;
    /**
     * title : 北京
     */

    private List<CommonBean> common;
    /**
     * title : 杭州
     */

    private List<TogetherBean> together;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getReturn_code() {
        return return_code;
    }

    public void setReturn_code(int return_code) {
        this.return_code = return_code;
    }

    public List<ProvinceBean> getProvince() {
        return province;
    }

    public void setProvince(List<ProvinceBean> province) {
        this.province = province;
    }

    public List<CommonBean> getCommon() {
        return common;
    }

    public void setCommon(List<CommonBean> common) {
        this.common = common;
    }

    public List<TogetherBean> getTogether() {
        return together;
    }

    public void setTogether(List<TogetherBean> together) {
        this.together = together;
    }

    public static class ProvinceBean {
        private String title;
        /**
         * id : 1
         * title : 杭州市
         */

        private List<CityBean> city;

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public List<CityBean> getCity() {
            return city;
        }

        public void setCity(List<CityBean> city) {
            this.city = city;
        }

        public static class CityBean {
            private String id;
            private String title;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }
        }
    }

    public static class CommonBean {
        private String title;

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }
    }

    public static class TogetherBean {
        private String title;

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }
    }
}
